package com.woniu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.entity.Expense;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hyl
 * @since 2022-08-28
 */
public interface IExpenseService extends IService<Expense> {
    //查询全部
    List<Expense> getAll();
    //根据id查询
    Expense getByExpId(int ExpId);
    //添加
    void addExp(String expCategory);
    //修改
    void updateExp(Expense expense);
    //条件查询
    List<Expense> getByCondition(Expense expense);

}
